<?php 
     include_once'DBConnect.php';
     if(isset($_REQUEST['filename']) && $_REQUEST['filename'])
     {
         $delObj= new DBConnect();
         $path = $_REQUEST['filename'];
         $delObj->DeleteImageWedding($path);       
     }
 ?> 